package com.asset.service;

import com.asset.pojo.User;

import java.util.List;

/**
 * Created by gongshaobo on 2017/1/9  10:55.
 */
public interface UserService{
    public void addUser(User user);
    public void modifyUser(User user);
    public List<User> listUser(String name,Integer index, Integer length);
    public User getUserById(Long id);
    public User getUserByLoginInfo(String userName,String password);
}
